package mipo.top.base.service;

import mipo.top.base.Dto.EmailDto;
import mipo.top.base.Dto.EmailRegisterDto;
import mipo.top.base.Dto.PhoneRegisterDto;

import javax.mail.MessagingException;

public interface IVerifyCodeUtilsService {
    String ImgCode(String key);

    void SmsCode(PhoneRegisterDto phoneRegisterDto);

    void emailCode(EmailRegisterDto dto) throws Exception;

    void phoneCode(String phone);
}
